package com.erp.module.zhichengJianyan

import com.erp.bean.ProcessInspectionJieHaoBean
import com.erp.bean.ZhiLiangBean
import com.erp.pull.PullP
import com.erp.pull.PullView

interface ProcessInspectionContract {
    interface InspectionJieHaoP : PullP {
        /**分配节号*/
        fun InspectionJieHao(jieHao: String,isfenpei : String)
        /**传递搜索字段*/
        fun sousuo(suosuo : InspectionSouSuobean)

        fun getWuLiao_DaiMa()

    }

    interface InspectionJieHaoView : PullView {
        /**分配节号*/
        fun InspectionJieHaoOk(data : String)
        fun InspectionJieHaoNo(erroe :String)
        /**分配节号访问*/
        fun Inspectionjiehao()

        fun getWuLiao_DaiMaOK(zhiliangid: MutableList<String>,zhiliangname: MutableList<String>)
        fun getWuLiao_DaiMaNO()
    }
    interface IXxInpection{
        //获取单条数据
        fun getInpectionBean(id : String)
        fun deleteInpection(id : String)
        fun addInpection(zhiliangbeann: ProcessInspectionJieHaoBean, deletephoto: MutableList<ProcessInspectionJieHaoBean.photo>)
    }
    interface XxInpectionView{
        fun getInpectionOk()
        fun getInpectionNo()
        fun deleteInpectionOk()
        fun deleteInpectionNo()
        fun addInpectionOk()
        fun addInpectionNo()
    }
}